﻿using FreeSql.DataAnnotations;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IMES.Common.Domain.DariusModel
{
    /// <summary>
    /// 角色权限表
    /// </summary>
    public class RolesPermission
    {
        [Column(IsIdentity = true, IsPrimary = true)]
        public int RolesPermissionId { get; set; }
        /// <summary>
        /// 角色id
        /// </summary>
        public int RoleId { get; set; }
        /// <summary>
        /// 权限名称
        /// </summary>
        public int PermissionId { get; set; }
    }
}
